﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BanVeXemPhim_Presentation
{
    public class NhomNguoiSuDungControl
    {
        private NhomNguoiSuDungDAO _nhomNguoiSuDungDao;

        public NhomNguoiSuDungDAO NhomNguoiSuDungDao
        {
            get { return _nhomNguoiSuDungDao; }
            set { _nhomNguoiSuDungDao = value; }
        }

        public NhomNguoiSuDungControl()
        {
            _nhomNguoiSuDungDao = new NhomNguoiSuDungDAO();
            
        }

        public NhomNguoiSuDungDTO[] LayDanhSachNhomNguoiSuDung()
        {
            return _nhomNguoiSuDungDao.LayDanhSachNhomNguoiSuDung();
        }
    }
}
